import request from '@/utils/request'
// 电量报表
var obj = {
  '/reportManagement/electricityReport': '/enterprise/electricReport/getElectricData',
  '/reportManagement/powerReport': 'enterprise/report/getPowerReport',
  '/reportManagement/electricParameterReport': '/enterprise/report/getElectricReport',
  '/reportManagement/electricityFeesReport': '/enterprise/electricFeeReport/getElectricFeeData',
  '/reportManagement/useGasReport': '',
  '/reportManagement/waterReport': ''
}
export function getReportData(path, data) {
  return request({
    url: obj[path],
    method: 'post',
    data
  })
}

export function getParamList(data) {
  return request({
    url: '/enterprise/monitor/paramList',
    method: 'post',
    data
  })
}
